'use strict';let _g=_wj(function*(){for(let b=0;10>b;++b){var a=speechSynthesis.getVoices();if(!_Pt(a))break;yield _Pi(5)}return a});function _5g(a,b,c){for(let d of b)a[d]&&a[d].addListener(c)}function _Ki(a,b,c){for(let d of b)a[d]&&a[d].removeListener(c)}
window.addEventListener("error",a=>{var b=a.composedPath&&a.composedPath().map(c=>c.nodeName);b={tgtElem:_Kg(a,"target","nodeName"),path:b};a.error&&b.add({error:a.error,stack:a.error.stack,elemSrc:a.error.src});b.stack||b.add({msg:a.message,file:a.filename,line:a.lineno,col:a.colno});_6p("error",b)},!0);
const _fy=(a,b,c)=>_Ky.runtime.lastError,_0k=(a=!1)=>b=>{_Ky.windows.getAll({populate:a,windowTypes:_to},c=>b(c.filter(d=>!_hf._D[d.id])))},_By=(a={})=>b=>{_Ky.tabs.query(a,c=>b(c&&c.filter(d=>!_hf._D[d.windowId])))},_ye=(a,b=!1,c)=>_Ky.windows.get(a,{populate:b,windowTypes:_to},c),_7j=a=>a&&(a.url||a.pendingUrl)||"about:blank";function _Rh(a){return a.id==_Ky.tabs.TAB_ID_NONE?-a.windowId:a.id}function _Hd(a={}){return a.focused&&"minimized"!=a.state}
let _lh=a=>b=>{_Ky.tabs.create({url:a,active:!0},c=>{_Ky.tabs.onUpdated.addListener(function g(f,e){f==c.id&&"complete"==e.status&&(_Ky.tabs.onUpdated.removeListener(g),b(c))})})},_Pp=_wj(function*(a){let b=yield c=>_Ky.windows.getLastFocused(c);a.windowId!=b.id&&_Ky.tabs.move(a.id,{windowId:b.id,index:-1});return yield c=>_Ky.tabs.update(a.id,{active:!0},c)}),_xf=_wj(function*(a=""){let b=yield _By({url:_Ky.runtime.getURL(_gi)});b=b.filter(c=>!_st(_7j(c)));return b[0]?yield _Pp(b[0]):yield _lh(_gi+
"#"+a)}),_Yk=_wj(function*(){var a=yield _xf("none");a=_Ky.extension.getViews({tabId:a.id})[0];yield _gu(a)._Yj.wait();return a}),_ep=_wj(function*(){return window==_hf||_Do?window.frameElement&&!_gu(window.parent)._Do?window.parent:yield _Yk():window}),_0,_xh=/^ /;_Ky.extension.isAllowedFileSchemeAccess(a=>{_0=a;_xh=new RegExp(`^(chrome|edge|about:|data:|view-source:|https:\/\/chrome.google.com\/webstore\/${a?"":"|file:"})`,"i")});const _Ns=a=>_xh.test(a);function _or(a){return a.charCodeAt(0)}
function _Iy(a){return String.fromCharCode(a)}function _0h(a,b,c=!0){return RegExp((b.in("equals","starts")?"^":"")+_At(a)+(b.in("equals","ends")?"$":""),c?"i":"")}function _At(a){return _Lt(a,"^$\\.*+?()[]{}|")}function _Uk(a){return a.split(":")}function _xp(a){return!(!a||!_Uk(a)[1])}function _er(a,b=null){if(!a)return{};const c=_Uk(a),d=1<c.length;d&&([b,a]=c);return _Kg(d?_hf._Ot:_hf._2i,b,a)||{}}function _vj(a,b){a=_er(a,"action").value;a.gener&&(a=a.gener(b));return a}
function _we(a,b,c,d){a=_3y(a);let f=_Uk(a.shift());_pd(["customEntities"].concat(f,a),b,c,d)}function*_Ws(a,b=!1){const c=_hf._Ot[a]||{};let d=Object.keys(c).filter(f=>c[f].name&&c[f].value);b&&d.sort((f,e)=>_bo(c[f].name,c[e].name));for(let f of d)yield a+":"+f}let _Le={};var _lj=a=>b=>{var c=a.match(/^data:[^;]*;base64,(.+)$/);if(c)return b(c[1]);if(c=_Le[a])return b(c);_n(a,"binary")(d=>b(_Le[a]=btoa(d)))};
function _6p(a,b={},c){if(_hf._xk()&&a.in("error","NH-error","NH-except","userReload"))return c&&c();const d=navigator;var f=(d.userAgent.match(/\((.+?)\)/)||[,""])[1].split(/\s*;\s*/);const e=[..._hf._h].map(([,g])=>100*g.dpiX/96);f={uri:location.pathname+location.search+location.hash,natHostVer:"2025.2.8.0",brwrLang:d.language,brwrVariant:_Pt(_dg)?void 0:_dg,osExtra:f[1]||d.platform,scaleFctr:1==e.length&&100==e[0]?void 0:e};_hf._ar&&(f.connectTime=Date.now()-_hf._ar);_n(_df+"appEvent","json","POST",
_Re({extName:"AutoCtrl",extVer:"2025.2.8",eventType:a,instID:_hf._Dy,timeOffset:Math.floor((Date.now()-_hf._Dp)/1E3),opSys:_Hf?d.platform+" "+_Hf:d.platform.match(/^win/i)?"Windows":d.platform,brwrName:_hf._si||_dg[0]||"",brwrVer:_Ok,ctxData:JSON.stringify(f),evtData:JSON.stringify(b),domain:location.hostname}))(c)}function _2a(a,b){null!=b&&_Ky.browserAction.setBadgeBackgroundColor({color:b});null!=a&&_Ky.browserAction.setBadgeText({text:a})}
function _1d(a,b=!1){const c=[94,14,77,49,13];let d=b?new Uint8Array(a.length):"";for(let f=a.length;0<=--f;){let e=a.length-f-1,g=(a.charCodeAt(f)-c[e%c.length]-e)%256;0>g&&(g+=256);b?d[e]=g:d+=String.fromCharCode(g)}return d}
let _Pu=_wj(function*(a,b){const c="B64"==b,d="blob"==b,f=/\.dat$/.test(a);if(d&&f||c)b="binary";b=yield _n(a,b);f&&(b=_1d(b,d),/\.gz\./.test(a)&&(b=d?yield _Nr(new Blob([b]),"gzip"):yield _cs(b,"gzip")),!d||b instanceof Blob||(b=new Blob([b])));c?b=btoa(b):b instanceof Blob&&(b=new Blob([b],{type:"application/vnd.microsoft.portable-executable"}));return b});
function _Ou(a,b,c=document){"string"==typeof c&&(c=document.querySelector(c));a=c.querySelector("#"+a).innerHTML.trim();b={URLS:_Ce,EXT:_Qg}.add(b);return a=a.replace(/\$\{([\w.#]+)\}/g,(d,f)=>"#"==f[0]?_Ou(f.substr(1),b,c):_Kg(b,...f.split(".")))}let _gu=a=>a;
var _ya=_Et(function*(a,b){b||(b=yield _qf("toolbarBtns",a));if(_Kg(b,"icon","img")){var c=yield _kw(b.icon.img);let d=_Mp(c.width,c.height).getContext("2d");d.drawImage(c,0,0);c=d.getImageData(0,0,c.width,c.height);c={data:[...c.data],width:c.width,height:c.height}}b=(_Kg(b,"title")||"").replace(/<br>/g,"\n")+"\v"+Array(+a+2).join("\t");_Ky.runtime.sendMessage(_Sy[a],{type:"btnProps",title:b,icon:c})});
{var _Cw=function(e,g){try{switch(g){case "UTF-16LE":return f(e,!1);case "UTF-16BE":return f(e,!0);case "UTF-8":case "US-ASCII":return c(e)}}catch(h){}return e},_uu=function(e,g,h=!0){switch(g){case "UTF-16LE":return d(e,!1,h);case "UTF-16BE":return d(e,!0,h);default:try{return btoa(e),e}catch(k){}case "UTF-8":return b(e,h)}};const a=String.fromCharCode(65279),b=function(e,g){e=e.length&&65279!=e.charCodeAt(0)&&g?a+e:e;return unescape(encodeURIComponent(e))},c=function(e){e=decodeURIComponent(escape(e));
return 65279==e.charCodeAt(0)?e.substr(1):e},d=function(e,g=!1,h){e=e.length&&65279!=e.charCodeAt(0)&&h?a+e:e;h=8*+g;g=8*+!g;let k="";for(let l=0;l<e.length;++l){const m=e.charCodeAt(l);k+=String.fromCharCode(m>>h&255);k+=String.fromCharCode(m>>g&255)}return k},f=function(e,g=!1){const h=+g;g=+!g;let k="";for(let l=0;l<e.length;l+=2)k+=String.fromCharCode(e.charCodeAt(l+h)|e.charCodeAt(l+g)<<8);return 65279==k.charCodeAt(0)?k.substr(1):k}}
function _7s(...a){return 1==a.length?_5e(a[0]):_Vg(a[0],a[1])}function _st(a){"string"==typeof a&&(a=new URL(a));a=(a.hash||"").slice(1);return a.startsWith("script=")?a.split("=")[1]:!1}function _gs(a,b){_Uw({trigActList:null,mouseGest:{}},a,c=>{let d=[];for(let [,f]of c.trigActList)f.disabled||d.push(f.triggers);"other"==_Kg(c.mouseGest,"triggers","preset")&&d.push(c.mouseGest.triggers);b(!!JSON.stringify(d).match(/"closed":true/))})}
let _Zp=_wj(function*(a,b){if(!b){b=yield d=>_tl({trigActList:[]},d);var c=0}for(let [d,f,e]of _Rs(b.trigActList))if("preconds"==d&&f.chromeState&&(f.chromeState.inactive||f.chromeState.closed)){switch(a){case "set":e.author={};case "del":case "add":_ih(e,"author",_hf._Dy,"del"==a?void 0:1,NaN);break;case "clear":e.author&&(e.author=void 0)}++c}c&&(yield d=>_Dd(b,d));return!!c});
function _mr(a){if(a.author&&_hf._Ed){let b=_Kg(a,"preconds","chromeState");return b&&!a.author[_hf._Dy]&&(b.inactive||b.closed)}return!1}function _jj(a,b,c,d){d=d||1024;b=b||3;for(var f=0;1E3<=a;++f)a/=d;return(c||"0 1").replace(/(0|1)/g,function(e,g){return[+a.toPrecision(b-(1>a)),f?" KMGTPEZY"[f]:""][g]})}
let _Rp=_wj(function*(a,b="",c=!1,d="",f=!0){a=(a.match(/\b[a-z]:[^:<>|*?"]+/i)||a.match(/\\\\[a-z][^:<>|*?"]+/i)||a.match(/[^:<>|*?"]+/i)||[""])[0].replace(/\//g,"\\").replace(/(?!^)\\{2,}/g,"\\");"DIR"!=b&&(b=b.replace(/\s*[:,]\s*/g,"\x00")+"\x00");for(var e=!1,g=0;2>g&&!1===e;++g)e=yield _hf._fw(_Uf,{path:a,filter:b,dfltExt:d,modal:f,saveAs:c}),a="";return e});const _7y="chrome://favicon/";function _Tu(a){return _7y+(a.startsWith("data")||a.startsWith("javascript")?"":a)}
function _bt(a){"string"==typeof a&&(a=[{menuId:0,negate:"closed"==a}]);return a}function _N(a,b){a=_Zk(a)?new URL(a):new URL("dummy:"+a);var c=a.pathname.replace(/\/+$/g,"");if(c){if(a=c.match(/[^\/]+$/)[0].replace(/([^.]+\.\w+):.+$/,"$1"),b){c=/\.([^.]+)$/;let d=(a.match(c)||[,""])[1].toLowerCase();d?d[0]!=b[0]&&(a=a.replace(c,"."+b)):a+="."+b}}else a=a.hostname+(b?"."+b:"");return decodeURIComponent(a).replace(/[\/\\:*?"<>|]/g,"_")}
{const a=["userVars"],b=["userVars"];var _Es=(c,d,f=!0)=>(f?b:a).concat(c||"",d?(d+"").split("."):[]),_o=c=>null===c||Number.isNaN(c)?void 0:c,_7d=_wj(function*(c,d){return yield _qf(..._Es(c,d,!1))}),_Ti=(c,d,f,e)=>g=>_pd(_Es(c,d,e),_o(f),0,g),_c=(c,d)=>f=>_pd(_Es(c,d,!1),void 0,0,f)};
